package com.fish.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 邮箱注册DTO
 *
 * @author fish
 */
@Data
@Schema(description = "邮箱注册请求对象")
public class EmailRegisterDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱地址", required = true, example = "user@example.com")
    private String email;

    /**
     * 验证码
     */
    @Schema(description = "邮箱验证码", required = true, example = "123456")
    private String code;

    /**
     * 密码
     */
    @Schema(description = "登录密码", required = true, example = "123456")
    private String password;

    /**
     * 昵称
     */
    @Schema(description = "用户昵称", example = "小鱼")
    private String nickname;
}
